package com.call;

import com.health.call.CallCenterApplication;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import java.util.HashMap;
import java.util.Map;

@SpringBootTest(classes = CallCenterApplication.class)
@RunWith(SpringRunner.class)
public class Demo {


    @Autowired

    @Test
    public void show(){
//        XwCallLogPojo xwCallLogPojo = new XwCallLogPojo();
//        final String API_URL_XW = "http://47.108.197.168:8078/cc-crm/httpTriggerInfo.do?method=invokeTrigger&actionKey=loadCallStatList&corpVccId=999999&vccNo="+xwCallLogPojo.getVccNo()+"&startTime="+xwCallLogPojo.getStartTime()+"&endTime="+xwCallLogPojo.getEndTime()+"&unAuthChk=true";
//        Map<String,String> params = new HashMap<String,String>();
//        params.put("starttime",xwCallLogPojo.getStartTime());
//        params.put("endtime",xwCallLogPojo.getEndTime());
//        params.put("vccNo",xwCallLogPojo.getVccNo());
//        String result = HttpUtils.post(API_URL_XW,params);

    }



}
